package com.eco.service.impl;

import com.eco.dao.ds3.FishTypeMapper;
import com.eco.entity.FishType;
import com.eco.service.FishTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @author: xulinyu
 * @date: 2024/6/23 19:45
 */
@Service
public class FishTypeServiceImpl implements FishTypeService {
    private final FishTypeMapper fishTypeMapper;

    public FishTypeServiceImpl(FishTypeMapper fishTypeMapper) {
        this.fishTypeMapper = fishTypeMapper;
    }


    @Override
    public List<FishType> findAllTypeByStationName() {
        return fishTypeMapper.findAllTypeByStationName();
    }
}
